//
//  LBRequestSystem.m
//  LBNetworking
//
//  Created by WuShiHai on 19/5/30.
//  Copyright (c) 2019 Lebbay. All rights reserved.
//

#import "LBRequestSystem.h"
#import <LBFoundation/LBFoundation.h>

@implementation LBRequestSystem

+ (instancetype)current:(NSString *)bundleVersion {
    LBRequestSystem *systemParam = [[LBRequestSystem alloc] init];
    systemParam.appIdentifier = AppBundleIdentifier();
    systemParam.appType = @"1";
    systemParam.appVersion = [LBDeviceUtil appVersion];
    systemParam.systemVersion = [LBDeviceUtil systemVersion];
    systemParam.hardware = [LBDeviceUtil deviceArchitecture];
    systemParam.bundleVersion = bundleVersion?:@"0";
    systemParam.channel = @"app_store";
    return systemParam;
}

@end
